"(".*"-fun)".*\n {
  sscanf(yytext,"%*[^(]%*[(]%[^)]",funcname);
  int c,i,j;
  i=0;
  while(funcname[i]!='\0')
    {
      ++i;
    }
  
  i-=4;				/* -fun  */
  j=i;
  while(i--)
    {
      base_funcname[i]=funcname[i];
    }

      base_funcname[j+1]='\0';

            strcpy(system_exec_str_tmp,"");
	    strcat(system_exec_str_tmp,"./syst>/tmp/funlink");

     
	                system(system_exec_str_tmp);

      FILE *infile;
      infile=fopen("/tmp/funlink","r");
      
      i=0;
      while((c=getc(infile))!='\n')
	{
	  funlink[i]=c;
	  i++;
	}
      funlink[i]='\0';
      fclose(infile);

  printf("<a href='%s#%s'>link:%s)</a>",&funlink,&base_funcname,&base_funcname); // add thesis

}
